package com.socodethis.spaceex;

import java.util.ArrayList;

import com.badlogic.gdx.audio.Sound;

public class soundHolder {
	ArrayList<Sound> Sounds;
	long id;
	public soundHolder(){
		Sounds = new ArrayList<Sound>();
	}
	public void addSound(Sound sound){
		Sounds.add(sound);
	}
	public int returnFxSize(){
		return Sounds.size();
	}
	public void playSound(int index){
		
		id = Sounds.get(index).play(.1f);
		Sounds.get(index).setPitch(id, 2);
	}
}
